package com.terabits.smartriver.meta.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.terabits.smartriver.meta.dto.TopicDTO;

import java.util.Date;
import java.util.List;

/**
 * Created by Yin on 2019/3/12
 * 点卷
 */
public class PaperVO {
    private Integer id;

    /**
     * 设备号
     */
    private String deviceNum;
    /**
     * 盒子号
     */
    private String boxNum;

    /**
     * 点检卷 标题
     */
    private String title;

    @JsonIgnore
    private String topicIdsStr;
    /**
     * 题目列表
     */
    List<TopicDTO> topics;

    /**
     * 该点卷满分数字
     */
    private Integer score;

    /**
     * 该点卷最坏分数
     */
    private Integer badscore;

    /**
     * 创建人
     */
    private String realname;

    /**
     * 点检卷 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date timeCreate;

    /**
     * 备注
     */
    private String remark;

    /**
     * 0禁用 1启用
     */
    private Integer status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeviceNum() {
        return deviceNum;
    }

    public void setDeviceNum(String deviceNum) {
        this.deviceNum = deviceNum;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTopicIdsStr() {
        return topicIdsStr;
    }

    public void setTopicIdsStr(String topicIdsStr) {
        this.topicIdsStr = topicIdsStr;
    }

    public List<TopicDTO> getTopics() {
        return topics;
    }

    public void setTopics(List<TopicDTO> topics) {
        this.topics = topics;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getBadscore() {
        return badscore;
    }

    public void setBadscore(Integer badscore) {
        this.badscore = badscore;
    }

    public String getRealname() {
        return realname;
    }

    public String getBoxNum() {
        return boxNum;
    }

    public void setBoxNum(String boxNum) {
        this.boxNum = boxNum;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public Date getTimeCreate() {
        return timeCreate;
    }

    public void setTimeCreate(Date timeCreate) {
        this.timeCreate = timeCreate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
